package com.shine.security;

import java.util.List;

/**
 * @author huihui
 * @date 2025/10/9 11:30
 * @description Principal
 */
public interface Principal {

    String USER_ID_KEY = "userId";
    String USERNAME_KEY = "username";
    String ROLE_KEY = "role";
    String PERMISSION_KEY = "permission";

    Long getId();

    String getUsername();

    String getPassword();

    List<String> getRoleList();

    List<String> getPermissionList();

}
